//
//  SYLoginViewController.m
//  songyao
//
//  Created by work on 16/10/19.
//  Copyright © 2016年 saikuo. All rights reserved.
//

#import "SYLoginViewController.h"
#import "SYRegisterViewController.h"

@interface SYLoginViewController ()

@end

@implementation SYLoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"登录";
    self.view.backgroundColor = [UIColor whiteColor];
    [self createNavigationBackItem:[UIImage imageNamed:@"navigationButtonReturn"]];
    // Do any additional setup after loading the view.
}

- (void)actionBack:(id)sender {
    [self dismissViewControllerAnimated:YES completion:nil];
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    SYRegisterViewController *vc = [[SYRegisterViewController alloc] init];
    [self.navigationController pushViewController:vc animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
